package cn.youyeku.zsxh.ui.home;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;

import cn.youyeku.zsxh.R;

import cn.youyeku.zsxh.trans.GlideCircleTransform;

/**
 * Created by youye on 17-4-6.
 */

public class FgmUser extends Fragment {

    ImageView img;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {

        View view =inflater.inflate(R.layout.future_view, container, false);

        img = (ImageView) view.findViewById(R.id.circleImageView2);

        Glide.with(getContext())
                .load(R.drawable.gif_giphy)
                .asGif()
                .diskCacheStrategy(DiskCacheStrategy.SOURCE)
                .into(img);

        return view;

    }
}
